package textapp.connector;

public class ServerConnectorMessage {
	private int code; // 1xx = success, 2xx = fail, 3xx = server error
	
	private Object body;

	public ServerConnectorMessage() {
		
	}
	
	public ServerConnectorMessage(int code) {
		this.code = code;
	}
	
	public ServerConnectorMessage(int code, Object body) {
		this.code = code;
		this.body = body;
	}
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	
	public Object getBody() {
		return body;
	}

	public void setBody(Object body) {
		this.body = body;
	}
}
